Defines a random access file stream

Full documentation

Initializes a new FileStream object with a java.io.File object.

Full documentation

Initializes a new FileStream object with a java.io.File object.

Full documentation

Initializes a new FileStream object with a file name.

Full documentation

Initializes a new FileStream object with a file name.

Full documentation

Returns this stream as a Java java.io.InputStream.

Full documentation

Returns this stream as a Java java.io.OutputStream.

Full documentation

Closes the stream.

Full documentation

This method supports the internal library infrastructure and should not be used by external client code.

Full documentation

Creates a new file for writing

Full documentation

Clears all buffers for this stream and causes any buffered data to be written to the underlying device.

Full documentation

Gets the length in bytes of the stream.

Full documentation

Gets the position within the current stream.

Full documentation

Opens the specifies file for reading.

Full documentation

Opens the specifies file for writing.

Full documentation

Reads a sequence of bytes from the current stream and advances the position within the stream by the number of bytes read.

Full documentation

Reads the content of the given file and returns it as a byte array..

Full documentation

Reads a byte from the stream and advances the position within the stream by one byte, or returns -1 if at the end of the stream.

Full documentation

Sets the position within the current stream.

Full documentation

Sets the length of the current stream.

Full documentation

Sets the position within the current stream.

Full documentation

Writes a sequence of bytes to the current stream and advances the current position within this stream by the number of bytes written.

Full documentation

Writes a byte to the current position in the stream and advances the position within the stream by one byte.

Full documentation